package com.ciwong.epaper.modules.cordva;

import android.widget.TextView;

import org.apache.cordova.CallbackContext;

/**
 * Created by young on 2016/8/8.
 * 提交作业事件
 */
public class SubmitEvent {
    private String id;
    public CallbackContext callbackContext;
    public String remainNum;
    private String json;
    private String score;
    private String callbackId;



    public SubmitEvent(String arg,String id){
        json=arg;
        this.id=id;
    }
   /* public SubmitEvent(String arg,String id,String remainNum){
        json=arg;
        this.id=id;
        this.remainNum=remainNum;
    }*/
    public SubmitEvent(String arg,String id,String remainNum,String score){
        json=arg;
        this.id=id;
        this.remainNum=remainNum;
        this.score=score;
    }
    public SubmitEvent(String arg,String id,String remainNum,String score,String callbackId){
        json=arg;
        this.id=id;
        this.remainNum=remainNum;
        this.score=score;
        this.callbackId=callbackId;

    }

    public SubmitEvent(String json,String id,String callbackId){
        this.json =json;
        this.id=id;
        this.callbackId=callbackId;
    }
    public SubmitEvent(String arg,String id,CallbackContext callbackContext){
        json=arg;
        this.id=id;
        this.callbackContext = callbackContext;
    }
    public String getCallbackId() {
        return callbackId;
    }

    public void setCallbackId(String callbackId) {
        this.callbackId = callbackId;
    }

    public String getRemainNum() {
        return remainNum;
    }

    public void setRemainNum(String remainNum) {
        this.remainNum = remainNum;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }
}
